from .models import Settings
from utils.serializers import CustomModelSerializer
from rest_framework import serializers


class SettingsSerializer(CustomModelSerializer):
    """
    系统设置-序列化器
    """

    class Meta:
        model = Settings
        fields = '__all__'
        read_only_fields = ['id']

